Option Explicit
'OҲAppEventCls
Public WithEvents myApp As Application
Private Sub myApp_SheetBeforeRightClick(ByVal Sh As Object, _
ByVal Target As Range, Cancel As Boolean)
    MsgBox Sh.Name & "" & Target.Address & "QHƹkIFC by Application"
End Sub

'зǼҲ
Dim myAppCls As New AppEventCls
Sub InitializeAppEvent()
  Set myAppCls.myApp = Application
End Sub
